package org.relic.enumstudy;

public class EnumStudy01 {
	private enum Color{red,blue,green}
	
//	public static void main(String[] args){
//		for(Color c:Color.values()){
//			System.out.println(c);
//		}
//	}
	
	public static void main(String[] args){
		Color c=Color.blue;
		switch(c){
		case red:
			System.out.println("red~");
			break;
		case blue:
			System.out.println("blue~");
			break;
		case green:
			System.out.println("green~");
			break;
		}
	}
	
	
	
}
